﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Caifu
{
	public partial class NetValueDaily
	{
		public bool EqualsValue(NetValueDaily netValueDaily)
		{
			return this.FundCode == netValueDaily.FundCode
				&& this.FundName == netValueDaily.FundName
				&& this.Category == netValueDaily.Category
				&& this.ReportDate == netValueDaily.ReportDate
				&& this.UnitNetValue == netValueDaily.UnitNetValue
				&& this.AccumulatedNetValue == netValueDaily.AccumulatedNetValue
				&& this.RestoredNetValue == netValueDaily.RestoredNetValue
				&& this.GrowthValue == netValueDaily.GrowthValue
				&& this.GrowthRate == netValueDaily.GrowthRate
				&& this.PreviousReportDate == netValueDaily.PreviousReportDate
				&& this.PreviousUnitNetValue == netValueDaily.PreviousUnitNetValue
				&& this.PreviousAccumulatedNetValue == netValueDaily.PreviousAccumulatedNetValue
				&& this.PreviousRestoredNetValue == netValueDaily.PreviousRestoredNetValue;
		}
	}
}
